$OpenBSD: patch-src_doc2tex_ll,v 1.1 2017/05/01 19:57:34 espie Exp $
Index: src/doc2tex.ll
--- src/doc2tex.ll.orig
+++ src/doc2tex.ll
@@ -23,12 +23,16 @@
 
 %{
 #include <assert.h>
-#include <fstream.h>
-#include <iostream.h>
+#include <fstream>
+#include <iostream>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <time.h>
+
+using std::cerr;
+using std::endl;
+using std::ifstream;
 
 #include "classgraph.h"
 #include "doc.h"
